﻿<%@ Page Title="" Language="C#" MasterPageFile="~/_page.Master" AutoEventWireup="true" CodeBehind="LeaveRequest-List.aspx.cs" Inherits="SmartSpace.WebApp.Modules.OA.Pages.LeaveRequest_List" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentTitle" runat="server">
    我的请假单
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentHead" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentBody" runat="server">
    <div class="ss-tbar">
        <table cellspacing="0" cellpadding="0">
            <tr>
                <td>状态</td>
                <td>
                    <asp:DropDownList ID="_ctlListActivity" runat="server" DataTextField="Caption" DataValueField="Code" OnSelectedIndexChanged="_ctlListActivity_SelectedIndexChanged" AutoPostBack="true"></asp:DropDownList>
                </td>
                <td>
                    <asp:HyperLink ID="_ctlLinkCreate" runat="server" NavigateUrl="~/Modules/OA/Pages/LeaveRequest-Create.aspx">创建</asp:HyperLink>
                </td>
                <td>
                    <asp:LinkButton ID="LinkButton1" runat="server">删除</asp:LinkButton>
                </td>
            </tr>
        </table>
    </div>
     <div>
         <table class="ss-list" style="width:100%;" cellspacing="0" cellpadding="0">
             <tr>
                 <th rowspan="2">
                     标题
                 </th>
                 <th rowspan="2">
                     类型
                 </th>
                 <th rowspan="2">
                     创建时间
                 </th>
                 <th colspan="2" class="duplex">
                     请假日期
                 </th>
                 <th rowspan="2">
                     审核人
                 </th>
                 <th rowspan="2">
                     审核时间
                 </th>
                 <th rowspan="2">
                     状态
                 </th>
             </tr>
             <tr>
                 <th style="width:100px;">
                     开始
                 </th>
                 <th style="width:100px;">
                     截至
                 </th>
             </tr>
             <asp:Repeater ID="_ctlList" runat="server">
                 <ItemTemplate>
                     <tr>
                         <td>
                             <a href='<%# this.ResolveClientUrl(Eval("Id","~/Modules/Workflow/Pages/Workflow-View.aspx?RefModule=OA.LEAVE&RefId={0}")) %>' Target="_blank"><%# Eval("Subject") %></a>
                         </td>
                         <td>
                             <%# Eval("TypeCaption") %>
                         </td>
                         <td>
                             <%# Eval("CreatedDate", "{0:yyyy-MM-dd}") %>
                         </td>
                         <td>
                             <%# Eval("StartTime", "{0:yyyy-MM-dd}") %>
                         </td>
                         <td>
                             <%# Eval("EndTime", "{0:yyyy-MM-dd}") %>
                         </td>
                         <td>
                             <%# Eval("AuditorName") %>
                         </td>
                         <td>
                             <%# Eval("AuditedDate") %>
                         </td>
                         <td>
                             <%# Eval("StatusText") %>
                         </td>
                     </tr>
                 </ItemTemplate>
             </asp:Repeater>
         </table>
     </div>
</asp:Content>
